export const password_rules = {
  old_pwd: [
    { required: true, message: "请输入旧密码", trigger: "blur" },
    { min: 6, max: 18, message: "字数限制在6-18个字符", trigger: "blur" },
  ],

  new_pwd: [
    { required: true, message: "请输入新密码", trigger: "blur" },
    { min: 6, max: 18, message: "字数限制在6-18个字符", trigger: "blur" },
  ],
};

export const edit_rules = {
  name: [{ required: true, message: "用户名不能为空", trigger: "blur" }],
};